<template>
    <div>
    <TopLink></TopLink>
    <NavCon></NavCon>
    <ListItem :obj="arr"></ListItem>
    </div>
</template>
<script>
import TopLink from "@/components/toplink/toplink.vue"
import NavCon from "@/pages/home/navCon/navCon.vue"
import ListItem from "./listItem/listItem.vue"
export default {
    components:{
        TopLink,
        NavCon,
        ListItem
    },  
    data() {
        return {
            arr:[]
        }
    },
    mounted() {
        this.axios({
            url:"/home/homelist",
            method:"get"
        })
        .then((res)=>{
            // console.log(res);
            this.arr=res.data.shouye
        })
    },
}
</script>
<style  scoped>

</style>